Skip to content

fix: Handle failed purl2cpe download at first run #4895

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 4, 2025
Merged

fix: Handle failed purl2cpe download at first run #4895

merged 1 commit into from
Mar 4, 2025

Conversation

stvml
Copy link
Contributor

@stvml stvml commented Mar 4, 2025

fixes #4889

Gracefully skip the purl2cpe DB populate operation if the database failed to download for some reason. Avoids crash from trying to operate on an empty DB file.

fixes #4889

Gracefully skip the purl2cpe DB populate operation if the database
failed to download for some reason. Avoids crash from trying to operate
on an empty DB file.

Signed-off-by: Steve Miller <[email protected]>
Signed-off-by: Shan Lee <[email protected]>
Signed-off-by: Jayant Singh <[email protected]>
Copy link
Contributor

@terriko terriko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@terriko terriko merged commit 8755ec8 into intel:main Mar 4, 2025
23 of 24 checks passed
@stvml stvml deleted the hackathon/handle-failed-purl2cpe-download branch March 4, 2025 23:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fix: "OperationalError: no such table: purl2cpe" at first run caused by failed purl2cpe download?
2 participants